//
//  RouteListCell.h
//  Cycling
//
//  Created by 迟国强 on 2023/4/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class RouteDetailModel;

typedef void(^CollectionBlock)(RouteDetailModel *model);
typedef void(^GoodBlock)(RouteDetailModel *model);
typedef void(^ShareBlock)(RouteDetailModel *model);

@interface RouteListCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *groundL;

@property (weak, nonatomic) IBOutlet UIImageView *hongqiImageV;
@property (nonatomic, strong) RouteDetailModel *model;
@property (weak, nonatomic) IBOutlet UIImageView *routeImageView;
@property (weak, nonatomic) IBOutlet UILabel *routeNameL;
@property (weak, nonatomic) IBOutlet UILabel *distanceL;
@property (weak, nonatomic) IBOutlet UILabel *timeL;
@property (weak, nonatomic) IBOutlet UILabel *velocityL;
@property (weak, nonatomic) IBOutlet UILabel *kcalL;
@property (weak, nonatomic) IBOutlet UILabel *addressL;
@property (weak, nonatomic) IBOutlet UIButton *goodBtn;
@property (weak, nonatomic) IBOutlet UIImageView *goodIconView;
@property (weak, nonatomic) IBOutlet UILabel *goodTitleLbl;

@property (weak, nonatomic) IBOutlet UIButton *collectionBtn;
@property (weak, nonatomic) IBOutlet UIImageView *collectionIconView;
@property (weak, nonatomic) IBOutlet UILabel *collectionTitleLbl;

@property (weak, nonatomic) IBOutlet UIButton *shareBtn;


@property (nonatomic, copy) GoodBlock goodBlock;
@property (nonatomic, copy) CollectionBlock collectionBlock;
@property (nonatomic, copy) ShareBlock shareBlock;

@end

NS_ASSUME_NONNULL_END
